import request from "@/utils/request";
import { GameInfo } from "@/interfaces";

export class MainService {
  static gameList(params: any) {
    return request.get<GameInfo[]>("/game/list", params, { noAuth: true });
  }

  static removeGame(params: any) {
    return request.post<GameInfo>("/game/info", params);
  }
}
